<?php

if ( ! defined('BASEPATH'))
    exit('No direct script access allowed');

/*
| -------------------------------------------------------------------------
| SPORTS ROUTES
| -------------------------------------------------------------------------
|
| 
|
| -------------------------------------------------------------------------
*/

// Sports
$route['sports']                          = "backend-sports/sport";
$route['sports/add']                      = "backend-sports/sport/add";
$route['sports/edit']                     = "backend-sports/sport/edit";
$route['sports/edit/id/:num']             = "backend-sports/sport/edit";
$route['sports/delete/id/:num']           = "backend-sports/sport/delete";
$route['sports/preview/id/:num']          = "backend-sports/sport/preview";

$route['sports/contents/:any']            = "backend-sports/sport/sports_datatable";


// Sports API
$route['api/sports']                             = "backend-sports/sport_api";
$route['api/sports/:num']                        = "backend-sports/sport_api/sport_by_id";

$route['api/sports/:any']                        = "backend-sports/sport_api";



/* End of file routes.php */
/* Location: ./application/sports/backend-sports/config/routes.php */